<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>$!{ask.title} - 阿里芝麻网络相册</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
<script type="text/javascript" src="js/common.js"></script>
<link href="css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">#parse("navigation.html")
#parse("picneck.html")
<div id="content2">
<table width="800" align="center" border="0" cellpadding="5"
	cellspacing="0">
	<tr>
		<td rowspan="2" width="140" class="bottomline">
		<img src="readImage.html?id=$!{ask.headPic}" />
		<p><a href="userHome.html?userId=$!{ask.userId}">$!{ask.nickName}</a></p>
		</td>
		<td width="660">
		<h1>$!{ask.title}</h1>
		$dateTool.format("SHORT", $!{ask.createTime})</td>
	</tr>
	<tr>
		<td class="bottomline">$!{ask.content}</td>
	</tr>
	#foreach($answer in $answerList)
	<tr>
		<td rowspan="2" class="bottomline">
		<img src="readImage.html?id=$!{answer.headPic}" />
		<p><a href="userHome.html?userId=$!{answer.userId}">$!{answer.nickName}</a></p>
		</td>
		<td width="660">$!{answer.title}&nbsp;&nbsp;
		$dateTool.format("SHORT", $!{answer.createTime})&nbsp;&nbsp;
		#if($!{userId}=='2'||$!{userId}=='3')<a
			href="deleteAnswer.html?answerId=$!{answer.id}">删除</a>#end</td>
	</tr>
	<tr>
		<td class="bottomline">$!{answer.content}</td>
	</tr>
	#end #if($!{userId})
	<tr>
		<td colspan="2">
		<h1>我来回答</h1>
		<form method="post" action="askDetail.html?askId=$!{ask.id}"><textarea
			rows="6" cols="50" name="content"></textarea> <br />
		<input type="submit" name="submit" value="提交" /></form>
		</td>
	</tr>
	#end
</table>
</div>
#parse("footer.html")</div>
</body>
</html>
